import request from "@/utils/request";
export function insertUserMenu(data) {
  return request({
    url: "/user-menu/insert",
    method: "post",
    data: data
  });
}
export function updateUserMenu(data) {
  return request({
    url: "/user-menu/update",
    method: "post",
    data: data
  });
}
export function deleteUserMenu(data) {
  return request({
    url: "/user-menu/delete",
    method: "post",
    data: data
  });
}
export function deletesUserMenu(data) {
  return request({
    url: "/user-menu/deletes",
    method: "post",
    data: data
  });
}
export function enableUserMenu(data) {
  return request({
    url: "/user-menu/enable",
    method: "post",
    data: data
  });
}
export function enablesUserMenu(data) {
  return request({
    url: "/user-menu/enables",
    method: "post",
    data: data
  });
}
export function disableUserMenu(data) {
  return request({
    url: "/user-menu/disable",
    method: "post",
    data: data
  });
}
export function disablesUserMenu(data) {
  return request({
    url: "/user-menu/disables",
    method: "post",
    data: data
  });
}
export function viewUserMenu(params) {
  return request({
    url: "/user-menu/view",
    method: "get",
    params: params
  });
}
export function pageUserMenu(params) {
  return request({
    url: "/user-menu/page",
    method: "get",
    params: params
  });
}
export function searchUserMenu(params) {
  return request({
    url: "/user-menu/search",
    method: "get",
    params: params
  });
}
